<!-- 资金来源与占用分析(合生) -->
<template>
	<fundsSource :isShow="isShow" :isReadOnly="isReadOnly" :handleType="handleType" :currentRow="currentRow" @close="handleClose"></fundsSource>
</template>

<script setup>
	import fundsSource from '../components/fundsSource.vue';
	defineProps({
		isShow: { type: Boolean, default: false },
		isReadOnly: { type: Boolean, default: true },
		handleType: { type: String, default: '' },
		currentRow: { type: Object },
	});

	const emit = defineEmits(['close']);

	//关闭抽屉
	const handleClose = data => {
		emit('close', data);
	};
</script>
